
    * {
      box-sizing: inherit;
    }

    html,
    body {
      box-sizing: border-box;
      margin: 0;
      background-color: white;
      padding: 0;
      width: 100%;
      overflow-x: hidden;
    }

    .pyt1 {
      z-index: 10;
      justify-content: space-between;
      position: fixed;
      text-align: center;
      color: white;
      top: 0;
      height: 140px;
      background: linear-gradient(90deg, #1f2937, #4f46e5);
      padding: 2px 20px;
      width: 100%;

    }

    .pyt1 h1 {
      margin-bottom: 5px;
      font-size: 36px;
    }

    .pyt1 p {
      opacity: 0.8;
      font-size: 16px;
    }

    .pyt2 {
      position: fixed;
      left: 0;
      top: 87px;
      display: flex;
      padding: 3px 0;
      flex-wrap: wrap;
      z-index: 999;
      background-color: #333;
      width: 100%;
      justify-content: end;
    }

    .pyt2 a {
      transition: 0.3s;
      border-radius: 6px;
      margin: 0 15px;
      font-weight: bold;
      padding: 6px 0px;
      text-decoration: none;
      color: white;
    }

    .pyt2 a:hover {
      background-color: #4f46e5;
    }

    #googleToggle {
      background: none;
      border: none;
      color: white;
      font-size: 26px;
      cursor: pointer;
      display: none;
    }

    .sidebar {
      position: fixed;
      top: 145;
      left: -250px;
      width: 250px;
      height: 100vh;
      /* Full viewport height */
      overflow-y: auto;
      /* Vertical scrollbar if content overflows */
      padding-top: 10px;
      /* Optional: top padding */
      box-sizing: border-box;
      /* Ensure padding included in height */
      background: white;
      color: white;
      transition: left 0.3s ease;
      z-index: 999;
    }

    .sidebar.active {
      left: 0;
    }

    .sidebar ul {
      margin: 0;
      list-style-type: none;
      padding: 0;
    }

    .sidebar ul li {
      cursor: pointer;
      padding: 8px 10px;
      border-bottom: 1px solid black;
    }

    .sidebar ul li a {
      color: black;
      text-decoration: none;
    }

    .sidebar ul li:hover {
      background-color: skyblue;
    }

    .content {
      background-color: white;
      overflow-y: auto;
      border-radius: 5px;
      width: calc(100%-230px);
      border: 1px solid black ;
      margin-top: 3cm;
      box-sizing: border-box;
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
      margin-left: 230px;
      padding: 20px;
      height: 100vh;
      overflow-x: hidden;
    }

    .content h2 {
      margin-left: 15px;
    }

    .content p {
      margin-left: 15px;
      margin-top: -.1cm;
    }

    .code-box {
      background-color: #2d2d2d;
      max-width: 100%;
      margin: 20px auto;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      overflow-y: hidden;
    }

    .code-header {
      background-color: #444;
      display: flex;
      align-items: center;
      font-size: .5cm;
      color: white;
      font-weight: bold;
      padding: 10px 15px;
      justify-content: space-between;

    }

    .copy-button {
      background-color: #ff5f57;
      transition: 0.3s;
      color: white;
      cursor: pointer;
      border-radius: 5px;
      font-size: 0.85rem;
      border: none;
      padding: 5px 10px;
    }

    .code-header .left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .copy-button:hover {
      background: #ff3b30;
    }

    .code-content {
      padding: 15px;
      overflow-x: auto;
      background-color: #2d2d2d;
    }

    .line-numbered {
      counter-reset: line;
    }

    .line {
      position: relative;
      display: block;
      white-space: pre;
      padding-left: 35px;
    }

    .line {
      display: block;
      padding-left: 35px;
      position: relative;
      white-space: pre;
    }

    .line::before {
      counter-increment: line;
      content: counter(line);
      position: absolute;
      left: 10px;
      color: #999;
      font-size: 0.9rem;
    }

    .output {
      color: white;
      margin-top: 15px;
      font-size: 0.9erm;
      border-radius: 5px;
      font-weight: bold;
      padding: 10px;
      background-color: #1a1a1a;
    }

    .output pre {
      white-space: pre-wrap;
      word-break: break-word;
      margin: 0;
    }

    pre {
      background-color: #1e1e1e;
      color: #0f0;
      padding: 12px;
      border-radius: 5px;
      overflow-x: auto;
    }
.footer {
 margin-top: 0%;
  text-align: center;
  z-index: 9999;
  background: #1a1a1a;
  align-items: center;
  display: flex;
  height: 30vh;
  gap: 150px;
  position: relative;
  justify-content: center;
  font-size: 24px;
  width: 100%;
  color: white;
}

.footer li {
  list-style: none;
  gap: 10px;
}

.footer li a {
  color: white;
  text-decoration: none;
  padding-left: 0;

}
.colums ul li a {
  margin-top: -1cm;
  padding-top: 5px;
}
.footer h3 {
  color: #f39c12;
  margin-top: -1cm;
}

.footer-bottom {
  position: absolute;
  top: 78%;
  left: 40%;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid #fff;
  font-size: 14px;
  color: #ddd;
  padding: 15px;
}


    @media (min-width: 320px) {
      .pyt1 {
        height: 90px;
      }

      .pyt1 h1 {
        font-size: 23px;
      }

      .pyt2 {
        top: 80px;
        height: 50px;
      }

      .pyt2 a {
        font-size: 12px;
        font-weight: normal;
        padding-right: 10px;
        padding-right: 0px;
        display: block;
      }

      #googleToggle {
        display: inline-block;
        font-size: 20px;
        margin-top: -.2cm;
      }

      .sidebar {
        left: -230px;
        width:230px;
        top: 130;
      }
      .sidebar ul li {
        font-size: .5cm;
      }

      .sidebar.active {
        left: 0;
      }

      main.content {
        /* margin-left:0; */
        /* width:calc(100%); */
        margin-top: 3cm;
      }
.content {
  margin: 0 auto; /* auto margins से बीच में आएगा */
  width: 100%; /* या जो भी width चाहें */
}
      .copy-button {
        border: none;
      }
      .code-content{
        color: white;
      }
      .output {
        text-align: center;
      }
      pre{
        text-align: start;
      }
    }
    @media (min-width:400px) {
      .pyt1{
        height: 70px;
      }
      .pyt2 a{
        font-size: 15px;
        /* font-weight: bold; */
      }
      .pyt2{
        height: 40px;
        margin-top: -20px;
      }
      #googleToggle{
        /* font-size: 15px; */
        margin-top: -.1cm;
      }
      .content{
        margin-top: .1cm;
      }
      .sidebar {
        margin-top: -.8cm;
      }
    }
    @media (min-width:500px) {
      .pyt2 a{
        font-weight: bold;
        font-size: 16px;
      }
    }
    @media (min-width:1000px) {
      #googleToggle{
        display: none;
      }  
      .sidebar {
    left: 0;
    position: fixed;
    width: 230px;
    margin-top: -.7cm;

    /* height: 100vh; */
    /**/
  }
  .pyt2 a{
    font-weight: bold;
    font-size: 20px;
  }
  .content {
  width: calc(100% - 230px);
  margin-left: 230px;
}
    }
    @media (min-width:1400px) {
      .content p{
        font-size: 24px;
      }
      .content h2{
        font-size: 30px;
      }
      .sidebar a{
        font-size: 24px;
      }
      .pyt1 h1{
        font-size: 45px;
      }
      .pyt1 {
        height: 150px;
      }
      .pyt2{
        height: 50px;
        margin-top: .5cm;
      }
      .pyt2 a{
        font-size: 25px;
      }
      .sidebar{
        margin-top: .5cm;
      }
    }
  